addpath(pwd);
addpath([pwd,"/lib"]);
addpath([pwd,"/src"]);
addpath([pwd,"/../datasets"]);
[td, tl, ed, el] = readSets();

td=redDim(td, 28, 28, 4, 4);
ed=redDim(ed, 28, 28, 4, 4);

[td ed] = featureNormalize(td, ed);
